package com.doit.demo01;

import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;

public class demo_ArrayList {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("ad");
        Collection<String> list2 = new ArrayList<>();
        list2.add("as");
        LinkedList<String>list3 = new LinkedList<>();
        list3.add("234");
    }
}
